/*
 * Copyright (c) 2018-2999 北京小象智慧信息科技有限公司 All rights reserved.
 *
 * https://www.xiaoxiangai.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */

package com.yami.shop.bean.app.dto;

import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

@Data
@ApiModel("我的订单")
public class MyOrderDto {

	@ApiModelProperty(value = "订单项",required=true)
	private List<MyOrderItemDto> orderItemDtos;

	@ApiModelProperty(value = "店铺id",required=true)
	private Long shopId;

	@ApiModelProperty(value = "订单号",required=true)
	private String orderNumber;

	@ApiModelProperty(value = "店铺名称",required=true)
	private String shopName;

	@ApiModelProperty(value = "总价",required=true)
	private Double actualTotal;

	@ApiModelProperty(value = "订单状态",required=true)
	private Integer status;

	@ApiModelProperty(value = "订单是否有效",required=true)
	private Integer orderState;

	@ApiModelProperty(value = "是否退款订单",required = true)
	private Integer refundState;

	@ApiModelProperty(value = "自提时间",required = true)
	private String pickupTime;

	@ApiModelProperty(value = "支付时间",required = true)
	private Date payTime;

	private String distributionType;

	private Long ptglid;

	private String ptstatus;

	public String getDistributionType() {
		return distributionType;
	}

	public void setDistributionType(String distributionType) {
		this.distributionType = distributionType;
	}

	public Long getPtglid() {
		return ptglid;
	}

	public void setPtglid(Long ptglid) {
		this.ptglid = ptglid;
	}
}
